<div class="prospect-sorter sorter <?php if($adc->getViewObject() == 'AdEdit') { echo 'section-title'; }  ?>">
	<div class="row-fluid row fixed">
		<?php if($adc->getViewObject() == 'AdEdit'): ?>
        <div class="span1 col-md-1">
            &nbsp;&nbsp;
            <select class="medium pull-right" name="status" onchange="setStatus(this);">
                <option value="-1" <?php echo $txt->getIsSelectedHTML('-1', $_REQUEST['status']); ?>>
                    <?php echo ucfirst($txt->getWord('all').' '.$txt->getWord('ads')); ?>
                </option>
                <option value="0" <?php echo $txt->getIsSelectedHTML('0', $_REQUEST['status']); ?>>
                    <?php echo ucfirst($txt->getWord('unpublished_new_ads')); ?>
                </option>
                <option value="1" <?php echo $txt->getIsSelectedHTML(1, $_REQUEST['status']); ?>>
                    <?php echo ucfirst($txt->getWord('active_ads')); ?>
                </option>
                <option value="2" <?php echo $txt->getIsSelectedHTML(2, $_REQUEST['status']); ?>>
                    <?php echo ucfirst($txt->getWord('inactive_ads')); ?>
                </option>
            </select>
            &nbsp;&nbsp;
        </div>
        <?php endif; ?>
        <div class="span4 col-md-4"><p class="hits"><strong><?php echo $adc->getAdsCount(); ?></strong> <?php echo ucfirst($txt->getWord('hits')); ?></p></div>
        <div class="span8 col-md-8">
        <select class="small-m pull-right" name="sorder" onchange="setSortOrder(this);">
            <option value="date-desc" <?php echo $txt->getIsSelectedHTML('date-desc', $_REQUEST['sortorder']); ?>>
                <?php echo ucfirst($txt->getWord('date')); ?>
            </option>
            <option value="price-asc" <?php echo $txt->getIsSelectedHTML('price-asc', $_REQUEST['sortorder']); ?>>
                <?php echo ucfirst($txt->getWord('price').' '.$txt->getWord('ascending')); ?>
            </option>
            <option value="price-desc" <?php echo $txt->getIsSelectedHTML('price-desc', $_REQUEST['sortorder']); ?>>
                <?php echo ucfirst($txt->getWord('price').' '.$txt->getWord('descending')); ?>
            </option>
        </select>
        </div>
	</div>
</div>